home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / emacs-18.59src.lha / emacs-18.59 / amiga / compile.doc < prev   
Encoding:
Text File  |  1994-10-31  |  1.0 KB  |  36 lines

  1. To compile emacs, you will need SAS C 6.01 or later. If you try to
  2. make it work with Aztec C or gcc, you might run into difficulties with
  3. the dumping code: 
  4. - The "small" data model (A4-relative) is used, to get all the variables
  5.   in one hunk.
  6. - Some variables are declared with the "far" attribute to get them out
  7.   of this hunk (and the dumping code depends on this). Move these to
  8.   the amiga_data.c module (which is for variables that shouldn't be
  9.   dumped).
  10.  
  11. To compile:
  12.  
  13. a) Install my 'unix compatibility' library (available by ftp and on fish
  14.    disks).
  15.  
  16. b) Install as usual (see INSTALLATION).
  17.  
  18. c) Compile the C preprocessor (SAS's one has a few problems ...):
  19.  
  20.      cd gnuemacs:cpp
  21.      smake
  22.  
  23. d) Compile & dump emacs
  24.  
  25.      stack 20000
  26.      cd gnuemacs:src
  27.      smake
  28.      copy temacs /
  29.  
  30.    (This takes around 20 minutes from scratch on an A2500/30).
  31.  
  32. If all goes well, you should have a new version of emacs ...
  33.  
  34. [Note: The DOC strings are not remade systematically. To change this,
  35. edit ymakefile and remove the comment from the rule for xemacs]
  36.